package cn.skyclass.events
{
	import flash.events.Event;
	
	public class PopUpEvent extends Event
	{
		public static const POP_UP_OPEN:String = "popUpOpen";
		public static const POP_UP_CLOSE:String = "popUpClose";
				
		public var msg:String;
		public var data:Object;
		
		public function PopUpEvent(type:String, msg:String=null, data:Object=null){
			super(type);
			this.msg = msg;
			this.data = data;
		}
		
		override public function clone():Event{
			return new PopUpEvent(this.type, this.msg, this.data);
		}				
	}
}